<!--SIF Implementation Specification 2.2-6 (March 17, 2008)-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" targetNamespace="http://www.sifinfo.org/infrastructure/2.x" xmlns:sif="http://www.sifinfo.org/infrastructure/2.x" elementFormDefault="qualified">
  <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="imports/xml/xml.xsd" />
  <xs:complexType name="TimeWorkedType">
    <xs:annotation>
      <xs:documentation>This object contains information about the time worked by an employee on a specific job.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="EmployeePersonalRefId" minOccurs="0" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>References associated EmployeePersonal object.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="LocationInfoRefId" minOccurs="0" type="sif:IdRefType">
        <xs:annotation>
          <xs:documentation>Site where employee actually worked.  References LocationInfo object.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="JobFunction" minOccurs="0" nillable="true">
        <xs:complexType>
          <xs:sequence>
            <xs:element name="Code" minOccurs="0" type="sif:NCES0568FunctionTypeType">
              <xs:annotation>
                <xs:documentation>Code representing the type of job function.</xs:documentation>
              </xs:annotation>
            </xs:element>
            <xs:element name="OtherCodeList" minOccurs="0" nillable="true" type="sif:OtherCodeListType" />
          </xs:sequence>
        </xs:complexType>
      </xs:element>
      <xs:element name="RegularHours" minOccurs="0" type="xs:decimal">
        <xs:annotation>
          <xs:documentation>Regular hours worked.  Enter 0 if no hours worked.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="OvertimeHours" minOccurs="0" type="xs:decimal">
        <xs:annotation>
          <xs:documentation>Overtime hours worked.  Enter 0 if no overtime hours worked.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="PayPeriod" minOccurs="0" type="xs:normalizedString">
        <xs:annotation>
          <xs:documentation>Pay period hours were worked in.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="SIF_Metadata" minOccurs="0" nillable="true" type="sif:SIF_MetadataType" />
      <xs:element name="SIF_ExtendedElements" minOccurs="0" nillable="true" type="sif:SIF_ExtendedElementsType" />
    </xs:sequence>
    <xs:attribute name="RefId" use="required" type="sif:RefIdType">
      <xs:annotation>
        <xs:documentation>GUID for this object. The application that owns this object is responsible for generating this unique ID.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>

  <xs:element name="TimeWorked" type="sif:TimeWorkedType" />

</xs:schema>